home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / vuser / README < prev    next >
Text File  |  1995-06-20  |  2KB  |  61 lines

  1.  
  2.     The vuser program is intended to be used to replay
  3. interactive sessions.  It does this by recording the users key
  4. strokes and the systems responses, and then replaying the
  5. sequences at a later time.
  6.  
  7. vuser understands the following options:
  8.  
  9.     -p num    Set the recorded prompt length to num characters.
  10.         Default is 10.
  11.  
  12.     -t num    Send the non-interactive timeout to be num seconds.
  13.         If the expected prompt is not seen in that
  14.         amount of time, vuser will procced as if the
  15.         prompt had been seen.  Setting the timeout to 0
  16.         will cause vuser to wait forever for a prompt.
  17.         Default is 30 seconds.
  18.  
  19.     -s name    Generate a script file to the file named name for
  20.         future playback.  The default is not to generate
  21.         a script file.
  22.  
  23.     -r name Record all characters sent to the standard output
  24.         in the file named name.  The default is not to
  25.         record the characters sent to the standard output.
  26.  
  27.     -e    Use the rest of the command line as the command 
  28.         to run rather than the program specified by the
  29.         environment variable SHELL.  If SHELL is not set,
  30.         then the default is /bin/sh.
  31.  
  32.     -l user host    Shorthand for ``-e rlogin host -l user''.
  33.  
  34. If either -e or -l is specified, it must be the last option on
  35. the command line.
  36.  
  37.     To replay a session at a later time, run vuser with the
  38. same command line options as for the interactive session, but do
  39. not specify -s, and redirect the input from the script file that
  40. was generated during the interactive session.
  41.  
  42.  
  43. Examples:
  44.  
  45. To run vuser interactively and generate a script file for later
  46. replaying, you would use a command similar to:
  47.  
  48.     vuser -s script.in -e bash
  49.  
  50. This will run the program bash, recording what the user types,
  51. and what the program sends back.  When bash terminates, vuser
  52. will also terminate.  To replay the session at a later time you
  53. would use the command:
  54.  
  55.     vuser -e bash <script.in
  56.  
  57.  
  58. Comments/Sugestions/Enhancements should be sent to jeffl@berick.uucp
  59. or ...!ucsd!sdsu!berick!jeffl.
  60.  
  61.